package com.ujoin.dao;

import java.util.List;

import com.ujoin.bean.Follow;

public interface IFollowDAO {

	public abstract void save(Follow transientInstance);

	public abstract void delete(Follow persistentInstance);

	public abstract Follow findById(java.lang.Integer id);

	public abstract List findByExample(Follow instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findByFollowerId(Object followerId);

	public abstract List findByFolloweeId(Object followeeId);

	public abstract List findByRemark(Object remark);

	public abstract List findAll();

	public abstract Follow merge(Follow detachedInstance);

	public abstract void attachDirty(Follow instance);

	public abstract void attachClean(Follow instance);
	
	//Newly Added Function
	public abstract Follow findByUserIdPair(Object followerId, Object followeeId);

}